<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib prefix="ck" uri="http://ckeditor.com"%>  
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>网络新闻管理系统</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" type="text/css" href="/res/style/email.css">
<script type="text/javascript" src="/res/script/email.js"></script>
</head>

<body>
	<a href="email_sentEmail.action">发送邮件</a> 》》写邮件
	<br>
	<br>
	<div class="MainDiv">
		<div class="AjustDiv">
			<jsp:include page="/page/email/leftmenu.jsp"></jsp:include>
			<div class="CenterDiv">
				<form action="emailManage.action?act=saveEmail" method="post">
					发件人：<select name="email.fromusername">
						<option value="0">个人</option>
						<option value="1">组管理员</option>
						<option value="2">系统管理员</option>
					</select><br> <br> 
					<!--  
					收件人：<input type='text' name ="email.tousername" id = "toUSer"/><br> <br>
					-->
					邮主题：<input type="text" name ="email.subject" /><br> <br>
					<textarea class="ckeditor" name="email.content" id="email.content"
						rows="30" cols="50"></textarea>
					<ck:replace replace="email.content" basePath="res/ckeditor"></ck:replace>
					<br> <br> <button type="submit" onclick="">发送</button>
				</form>
			</div>
		</div>
	</div>
</body>
</html>
